/* QA.com maintenance holding page — fully self-contained */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("fonts/figtree-latin-wght-normal.woff2") format("woff2-variations"),
       url("fonts/figtree-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("fonts/figtree-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("fonts/figtree-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* QA brand palette (from the QA logo / qa.com) */
  --qa-black: #000;
  --qa-ink: #141414;
  --qa-grey: #f4f4f4;
  --qa-mid-grey: #6b6b6b;
  --qa-purple: #9e84f5;
  --qa-red: #fc5b61;
  --qa-orange: #fcac69;
  --qa-blue: #2fb7da;
  --qa-yellow: #ffdc57;
  --qa-green: #82caae;
  --qa-link-blue: #2a4eef;

  --gutter: clamp(1.25rem, 5vw, 4rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.175rem);
  line-height: 1.6;
  color: var(--qa-ink);
  background: #fff;
  overflow-x: hidden;
  overflow-x: clip;
  position: relative;
}

/* Header */
.site-header {
  padding: clamp(1.25rem, 3vw, 2rem) var(--gutter);
  position: relative;
  z-index: 2;
}
.logo {
  display: block;
  width: clamp(96px, 14vw, 146px);
  height: auto;
}

/* Main content */
.content {
  flex: 1;
  width: 100%;
  max-width: 46rem;
  padding: clamp(2rem, 8vh, 6rem) var(--gutter) clamp(3rem, 8vh, 5rem);
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin: 0 0 1.25rem;
  padding: 0.4em 1em;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--qa-grey);
  border-radius: 40px;
}
.eyebrow::before {
  content: "";
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: var(--qa-yellow);
  box-shadow: 0 0 0 0 rgba(255, 220, 87, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(252, 172, 105, 0.6); }
  70%  { box-shadow: 0 0 0 0.6em rgba(252, 172, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(252, 172, 105, 0); }
}

h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.25rem, 1.4rem + 4vw, 4.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--qa-black);
}

p { margin: 0 0 1.25rem; }

.lead {
  font-size: 1.2em;
  font-weight: 500;
  color: var(--qa-black);
}

/* Call to action */
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin: 2rem 0 2.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 1.75em;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: var(--qa-black);
  border-radius: 40px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: #2b2b2b; }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn:focus-visible {
  outline: 3px solid var(--qa-blue);
  outline-offset: 3px;
}
.btn__icon {
  width: 1.15em;
  height: 1.15em;
  transition: transform 0.2s ease;
}
.text-link {
  color: var(--qa-black);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--qa-blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.text-link:hover { text-decoration-color: var(--qa-black); }
.cta__url {
  font-size: 0.9em;
  color: var(--qa-mid-grey);
}

.thanks {
  padding-top: 1.5rem;
  border-top: 1px solid #d6d6d6;
  color: var(--qa-mid-grey);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 2;
  font-size: 0.875rem;
  color: var(--qa-mid-grey);
}
.site-footer p {
  margin: 0;
  padding: 1.25rem var(--gutter);
}
.stripe {
  display: flex;
  height: 6px;
}
.stripe span { flex: 1; }
.stripe span:nth-child(1) { background: var(--qa-purple); }
.stripe span:nth-child(2) { background: var(--qa-red); }
.stripe span:nth-child(3) { background: var(--qa-orange); }
.stripe span:nth-child(4) { background: var(--qa-yellow); }
.stripe span:nth-child(5) { background: var(--qa-green); }
.stripe span:nth-child(6) { background: var(--qa-blue); }

/* Decorative QA isotope (logo mark) */
.isotope {
  position: absolute;
  top: 50%;
  right: var(--gutter);
  width: clamp(18rem, 36vw, 34rem);
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}
.isotope svg { display: block; width: 100%; height: auto; overflow: visible; }
.isotope svg { animation: fade-in 0.8s ease-out both; }
@keyframes fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* Tablet & below: tuck the isotope into the top-right corner behind the header */
@media (max-width: 960px) {
  .isotope {
    top: -3rem;
    right: -5rem;
    width: 16rem;
    transform: none;
    opacity: 0.25;
  }
}
@media (max-width: 480px) {
  .isotope { width: 12rem; top: -2.5rem; right: -4.5rem; }
  .btn { width: 100%; justify-content: center; }
  .text-link {
  color: var(--qa-black);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--qa-blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.text-link:hover { text-decoration-color: var(--qa-black); }
.cta__url { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
