/*
 * A1Ai congruence layer (2026-10-24).
 *
 * Brings SociallyBid in line with the type and component language of the new a1aidigital.com
 * (Jarvis/site-rebuild/src/mb.src.css): Literata headlines, Public Sans text, pill buttons with a
 * pressed-edge shadow, one accent phrase in italic over a marker highlight, a pill badge above the
 * hero headline, tracked uppercase eyebrows, softer rounded cards, an italic serif footer line.
 *
 * Every colour stays SociallyBid's: the marker, dots, shadows and buttons use the brand red where
 * a1aidigital.com uses its gold and sky blue.
 *
 * Loaded after style.css, which is untouched. Switch the whole layer off with
 * define( 'SB_A1_CONGRUENCE', false ); in wp-config.php.
 */

@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/literata-var.woff2") format("woff2");
}
@font-face {
  font-family: "Literata";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/literata-italic-var.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/public-sans-var.woff2") format("woff2");
}

:root {
  --font-serif: "Literata", Georgia, "Times New Roman", serif;
  --font-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --a1-shadow: 0 1px 2px rgb(17 17 17 / 0.05), 0 14px 34px -12px rgb(17 17 17 / 0.18);
  --a1-shadow-sm: 0 1px 2px rgb(17 17 17 / 0.05), 0 6px 18px -8px rgb(17 17 17 / 0.16);
  --a1-marker: rgb(201 42 42 / 0.15);
}

/* ------------------------------------------------------------------ */
/* Type                                                                */
/* ------------------------------------------------------------------ */
body {
  font-size: 1.0625rem;
  line-height: 1.6;
}
h1,
h2,
h3,
h4,
.h-display,
.h-xl,
.h-lg,
.h-md {
  font-weight: 600;
  letter-spacing: -0.015em;
}
.h-display {
  line-height: 1.06;
  letter-spacing: -0.025em;
}
@media (min-width: 1024px) {
  .h-display {
    font-size: 3.5rem;
  }
  .h-xl {
    font-size: 2.75rem;
    line-height: 1.12;
  }
}

/* The one accent phrase per heading: italic over a marker stroke, as on a1aidigital.com, in brand red. */
.text-gradient {
  background: linear-gradient(transparent 62%, var(--a1-marker) 62%, var(--a1-marker) 92%, transparent 92%);
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--brand);
  -webkit-text-fill-color: var(--brand);
  font-style: italic;
  font-weight: 500;
  padding: 0 0 0 0.04em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
/* On the dark bands the gradient text stays; it only takes the italic voice. */
.text-gradient-light {
  font-style: italic;
  font-weight: 500;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
/* Hero label becomes the pill badge with a dot, like a1aidigital.com's location badge. */
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.8);
  border: 1px solid rgb(201 42 42 / 0.18);
  color: var(--n700);
  letter-spacing: 0.06em;
  width: fit-content;
  max-width: 100%;
}
/* Centered heroes (sign-up, thank-you and others) lay the hero out as a flex column, which would stretch the badge. */
.hero .text-center > .eyebrow {
  margin-inline: auto;
}
.hero .eyebrow::before {
  content: "";
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgb(201 42 42 / 0.18);
}
@media (max-width: 480px) {
  .hero .eyebrow {
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.7rem;
    letter-spacing: 0.03em;
  }
}
.hero__lede {
  font-size: 1.15rem;
  line-height: 1.65;
}
.hero__note::before {
  content: "\2713";
  margin-right: 0.5rem;
  color: var(--brand);
  font-weight: 700;
}

/* ------------------------------------------------------------------ */
/* Buttons: pill, bold, pressed-edge shadow                            */
/* ------------------------------------------------------------------ */
.btn {
  border-radius: 999px;
  font-weight: 700;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn--lg {
  min-height: 3.5rem;
  padding: 0 1.75rem;
  font-size: 1.0625rem;
}
.btn:not(.btn--outline) {
  box-shadow: 0 2px 0 var(--brand-800), 0 10px 22px -10px rgb(201 42 42 / 0.75);
}
.btn:not(.btn--outline):hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 0 var(--brand-800), 0 14px 26px -10px rgb(201 42 42 / 0.8);
}
.btn:not(.btn--outline):active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 var(--brand-800), 0 6px 14px -8px rgb(201 42 42 / 0.6);
}
.btn--outline {
  border: 2px solid var(--n900);
  color: var(--n900);
}
.btn--outline:hover {
  background: var(--brand-50);
  color: var(--n900);
}
.btn:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

/* ------------------------------------------------------------------ */
/* Cards, steps, small type details                                    */
/* ------------------------------------------------------------------ */
.card,
.feature-card {
  border-radius: 1.25rem;
  box-shadow: var(--a1-shadow-sm);
}
.card--interactive:hover {
  box-shadow: var(--a1-shadow);
}
.step__num {
  font-weight: 600;
  font-size: 0.95rem;
}
.step__title {
  font-weight: 600;
}
.float-badge__label {
  font-weight: 600;
}

/* ------------------------------------------------------------------ */
/* Footer: italic serif line and tracked column titles                 */
/* ------------------------------------------------------------------ */
.footer-statement {
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.footer-col__title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--n500);
}
.footer-col a {
  font-weight: 600;
  color: var(--n700);
}
.footer-col a:hover {
  color: var(--brand);
}
