/*
Theme Name: SociallyBid
Theme URI: https://sociallybid.com
Author: SociallyBid
Description: Marketing theme for SociallyBid: a faithful port of the sociallybid.com design. Crimson brand, Cardo serif display headings, Inter body, soft editorial styling.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: Proprietary
Text Domain: sociallybid
*/

/* ------------------------------------------------------------------ */
/* Fonts (self-hosted)                                                 */
/* ------------------------------------------------------------------ */
@font-face {
  font-family: "Cardo";
  src: url("assets/fonts/cardo-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cardo";
  src: url("assets/fonts/cardo-400italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cardo";
  src: url("assets/fonts/cardo-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------------ */
/* Design tokens: crimson brand ramp from sociallybid.com              */
/* ------------------------------------------------------------------ */
:root {
  --brand-50: #fdf3f3;
  --brand-100: #fbe3e3;
  --brand-200: #f6c7c7;
  --brand-300: #ee9d9d;
  --brand-400: #e26a6a;
  --brand-500: #d13b3b;
  --brand-600: #c92a2a;
  --brand-700: #a82121;
  --brand-800: #8a1c1c;
  --brand-900: #741a1a;
  --brand: #c92a2a;
  --brand-dark: #a82121;
  --brand-tint: #fceaea;

  --n50: #fafafa;
  --n100: #f5f5f5;
  --n200: #e5e5e5;
  --n300: #d4d4d4;
  --n400: #a3a3a3;
  --n500: #737373;
  --n600: #525252;
  --n700: #404040;
  --n800: #262626;
  --n900: #171717;

  --rose-100: #ffe4e6;
  --rose-500: #f43f5e;

  --font-sans: "Inter", Arial, Helvetica, sans-serif;
  --font-serif: "Cardo", Georgia, serif;

  --shadow-soft: 0 1px 2px rgb(17 17 17 / 0.04), 0 8px 24px rgb(17 17 17 / 0.06);
  --shadow-lift: 0 4px 12px rgb(17 17 17 / 0.06), 0 18px 40px rgb(17 17 17 / 0.1);
  --shadow-glow: 0 4px 12px rgb(201 42 42 / 0.12), 0 14px 36px rgb(201 42 42 / 0.16);
  --ring-hairline: 0 0 0 1px rgb(0 0 0 / 0.05);
}

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background: #ffffff;
  color: #171717;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.site-main {
  flex: 1;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: #171717;
  text-wrap: balance;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.08;
}
h2 {
  font-size: 1.875rem;
  line-height: 1.15;
}
h3 {
  font-size: 1.5rem;
  line-height: 1.25;
}
h4 {
  font-size: 1.25rem;
  line-height: 1.3;
}
::selection {
  background: #fbe3e3;
  color: #741a1a;
}
* {
  scrollbar-width: thin;
  scrollbar-color: #d4d4d4 transparent;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-thumb {
  background: #d4d4d4;
  border-radius: 8px;
  border: 3px solid #ffffff;
}
::-webkit-scrollbar-thumb:hover {
  background: #a3a3a3;
}

/* Screen-reader-only (used for stat labels etc.) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------------ */
/* Layout                                                              */
/* ------------------------------------------------------------------ */
.container {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 64rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
.container--wide {
  max-width: 72rem;
}
.container--narrow {
  max-width: 48rem;
}
.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.section--muted {
  background: var(--n50);
}
.section--top-line {
  border-top: 1px solid var(--n100);
}
@media (min-width: 640px) {
  .section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

/* ------------------------------------------------------------------ */
/* Heading scale + eyebrow + gradient text                             */
/* ------------------------------------------------------------------ */
.h-display {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  line-height: 1.05;
  color: var(--n900);
}
.h-xl {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  line-height: 1.1;
  color: var(--n900);
}
.h-lg {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--n900);
}
.h-md {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--n900);
}
@media (min-width: 640px) {
  .h-display {
    font-size: 3rem;
  }
  .h-xl {
    font-size: 2.25rem;
  }
  .h-lg {
    font-size: 1.875rem;
  }
  .h-md {
    font-size: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .h-display {
    font-size: 3.75rem;
  }
}
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand);
}
.text-gradient {
  background-image: linear-gradient(100deg, #c92a2a 20%, #e26a6a 55%, #a82121 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-gradient-light {
  background-image: linear-gradient(100deg, #ee9d9d 10%, #fbe3e3 55%, #e26a6a 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------------ */
/* Utilities (only what the templates use)                             */
/* ------------------------------------------------------------------ */
.text-center {
  text-align: center;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-7 { margin-top: 1.75rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mb-6 { margin-bottom: 1.5rem; }
.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.tc-300 { color: var(--n300); }
.tc-400 { color: var(--n400); }
.tc-500 { color: var(--n500); }
.tc-600 { color: var(--n600); }
.tc-700 { color: var(--n700); }
.tc-800 { color: var(--n800); }
.tc-900 { color: var(--n900); }
.tc-brand { color: var(--brand); }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-serif { font-family: var(--font-serif); }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
@media (min-width: 640px) {
  .sm-p-8 { padding: 2rem; }
}

.link-brand {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
}
.link-brand:hover {
  text-decoration: underline;
}
.link-inline {
  color: var(--brand);
}
.link-inline:hover {
  text-decoration: underline;
}
.link-quiet {
  font-size: 0.875rem;
  color: var(--n500);
  transition: color 0.15s ease;
}
.link-quiet:hover {
  color: var(--n900);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.cta-row--lg {
  gap: 1rem;
}
.cta-row--center {
  justify-content: center;
}

.grid-lg-2 {
  display: grid;
  align-items: center;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .grid-lg-2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .lg-order-first {
    order: -1;
  }
}
.cards-2-4 {
  display: grid;
  gap: 1rem;
}
.cards-2-3 {
  display: grid;
  gap: 1rem;
}
.cards-md-2 {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .cards-2-4,
  .cards-2-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 768px) {
  .cards-md-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .cards-2-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .cards-2-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--brand);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover {
  background: var(--brand-dark);
  box-shadow: var(--shadow-glow);
}
.btn:active {
  transform: translateY(1px);
}
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--brand);
}
/* Light sweep across primary buttons on hover. */
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  height: 100%;
  width: 55%;
  transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.28), transparent);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn:hover::after {
  left: 130%;
}
.btn--outline {
  background: #ffffff;
  color: var(--n800);
  border-color: var(--n300);
  box-shadow: none;
}
.btn--outline:hover {
  background: var(--n50);
  box-shadow: none;
}
.btn--outline::after {
  display: none;
}
.btn--sm {
  padding: 0.375rem 0.75rem;
}
.btn--lg {
  padding: 0.75rem 1.5rem;
}
.btn--full {
  width: 100%;
}
.btn .icon-arrow {
  width: 1rem;
  height: 1rem;
  transition: transform 0.15s ease;
}
.btn:hover .icon-arrow {
  transform: translateX(0.25rem);
}

/* ------------------------------------------------------------------ */
/* Cards, callouts, icon tiles, steps                                  */
/* ------------------------------------------------------------------ */
.card {
  border-radius: 1rem;
  border: 1px solid var(--n200);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}
.card--interactive {
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.card--interactive:hover {
  transform: translateY(-2px);
  border-color: rgb(201 42 42 / 0.3);
  box-shadow: var(--shadow-glow);
}
.card--gradient {
  border-radius: 1.5rem;
  border: 1px solid rgb(201 42 42 / 0.2);
  background: linear-gradient(to bottom right, var(--brand-50), #ffffff);
}
.feature-card {
  border-radius: 1rem;
  border: 1px solid var(--n200);
  background: #ffffff;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgb(201 42 42 / 0.3);
  box-shadow: var(--shadow-lift);
}
.feature-card__title {
  font-weight: 500;
  color: var(--n900);
}
.feature-card__body {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--n600);
}

.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 1rem;
  border: 1px solid rgb(201 42 42 / 0.2);
  background: linear-gradient(to bottom right, var(--brand-50), #ffffff);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}
.callout__content {
  min-width: 0;
}
.callout__title {
  font-weight: 500;
  color: var(--n900);
}
.callout__body {
  margin-top: 0.125rem;
  font-size: 0.875rem;
  color: var(--n600);
}
.callout__action {
  flex-shrink: 0;
}

.icon-tile {
  display: flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: var(--brand-tint);
  color: var(--brand);
}
.icon-tile svg {
  width: 1.5rem;
  height: 1.5rem;
}
.icon-tile--sm {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 0.75rem;
}
.icon-tile--sm svg {
  width: 1.25rem;
  height: 1.25rem;
}
.icon-plain {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--brand);
}

.steps {
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  list-style: none;
}
.steps--tight {
  margin-top: 1.25rem;
  gap: 1.25rem;
}
.step {
  display: flex;
  gap: 1rem;
}
.step__num {
  display: flex;
  height: 2rem;
  width: 2rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--brand);
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: #ffffff;
}
.step__title {
  font-weight: 500;
  color: var(--n900);
}
.step__body {
  margin-top: 0.125rem;
  font-size: 0.875rem;
  color: var(--n600);
}

.check-list {
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  list-style: none;
  font-size: 0.875rem;
  color: var(--n700);
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}
.check-list svg {
  margin-top: 0.125rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--brand);
}

.principle {
  border-left: 2px solid rgb(201 42 42 / 0.4);
  padding-left: 1rem;
}
.principle h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--n900);
}
.principle p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--n600);
}
.principles {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.5rem;
}

/* ------------------------------------------------------------------ */
/* Announcement bar (homepage founding-creators strip)                 */
/* ------------------------------------------------------------------ */
.announce-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  background: var(--brand-tint);
  border-bottom: 1px solid rgb(201 42 42 / 0.15);
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: var(--brand-900);
  text-align: center;
  transition: background-color 0.15s ease;
}
.announce-bar:hover {
  background: var(--brand-100);
}
.announce-bar__badge {
  border-radius: 9999px;
  background: var(--brand);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.125rem 0.5rem;
}
.announce-bar__cta {
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
}

/* Asterisk on the founding-creators "free" claims: anchors to #the-asterisk. */
.asterisk-link {
  color: var(--brand);
  text-decoration: none;
  font-size: 0.65em;
  vertical-align: super;
  line-height: 1;
}
.asterisk-link:hover {
  color: var(--brand-dark);
}

/* ------------------------------------------------------------------ */
/* Hero bands + image frames                                           */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--n100);
  background: linear-gradient(to bottom, rgb(253 243 243 / 0.5), #ffffff);
}
.hero__inner {
  position: relative;
  display: grid;
  align-items: center;
  gap: 2.5rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 640px) {
  .hero__inner {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}
@media (min-width: 1024px) {
  .hero__inner--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
.hero__lede {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--n600);
}
.hero__lede strong {
  color: var(--n800);
}
.hero__note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--n400);
}

.img-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 1.5rem;
  aspect-ratio: 4 / 3;
  box-shadow: var(--ring-hairline), var(--shadow-lift);
}
.img-frame--soft {
  box-shadow: var(--ring-hairline), var(--shadow-soft);
}
.img-frame--band {
  aspect-ratio: 21 / 9;
}
.img-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.float-badge {
  position: absolute;
  bottom: -1.25rem;
  left: -1.25rem;
  display: none;
  border-radius: 1rem;
  border: 1px solid rgb(255 255 255 / 0.6);
  background: rgb(255 255 255 / 0.8);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-lift);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: float-y 6s ease-in-out infinite;
}
@media (min-width: 640px) {
  .float-badge {
    display: block;
  }
}
.float-badge__kicker {
  font-size: 0.75rem;
  color: var(--n500);
}
.float-badge__label {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--n900);
}

/* ------------------------------------------------------------------ */
/* Motion system: blobs, grain, marquee, float, reveal                 */
/* ------------------------------------------------------------------ */
@keyframes blob-a {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -50px) scale(1.12); }
  66% { transform: translate(-30px, 25px) scale(0.94); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes blob-b {
  0% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(-45px, 35px) scale(1.08); }
  70% { transform: translate(25px, -30px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes blob-c {
  0% { transform: translate(0, 0) scale(1); }
  30% { transform: translate(30px, 40px) scale(0.92); }
  65% { transform: translate(-40px, -25px) scale(1.1); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes marquee-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.blobs {
  pointer-events: none;
  position: absolute;
  inset: 0;
}
.blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(64px);
}
.blob--a {
  animation: blob-a 18s ease-in-out infinite;
  will-change: transform;
}
.blob--b {
  animation: blob-b 24s ease-in-out infinite;
  will-change: transform;
}
.blob--c {
  animation: blob-c 30s ease-in-out infinite;
  will-change: transform;
}
/* Variant: hero */
.blobs--hero .blob--a { left: -6rem; top: -6rem; height: 18rem; width: 18rem; background: rgb(251 227 227 / 0.7); }
.blobs--hero .blob--b { right: 8%; top: 33.333%; height: 20rem; width: 20rem; background: var(--brand-50); }
.blobs--hero .blob--c { left: 33.333%; bottom: -6rem; height: 16rem; width: 16rem; background: rgb(255 228 230 / 0.6); }
/* Variant: hero-right */
.blobs--hero-right .blob--a { right: -6rem; top: -6rem; height: 20rem; width: 20rem; background: rgb(251 227 227 / 0.7); }
.blobs--hero-right .blob--b { left: 5%; top: 50%; height: 18rem; width: 18rem; background: var(--brand-50); }
.blobs--hero-right .blob--c { right: 33.333%; bottom: -5rem; height: 15rem; width: 15rem; background: rgb(255 228 230 / 0.6); }
/* Variant: center */
.blobs--center .blob--a { left: 15%; top: -5rem; height: 18rem; width: 18rem; background: rgb(251 227 227 / 0.6); }
.blobs--center .blob--b { right: 15%; top: 25%; height: 16rem; width: 16rem; background: var(--brand-50); }
.blobs--center .blob--c { left: 50%; bottom: -6rem; height: 18rem; width: 18rem; background: rgb(255 228 230 / 0.5); }

.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.marquee-band {
  border-bottom: 1px solid var(--n100);
  padding: 1.5rem 0;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-x 36s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-chip {
  margin: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--n400);
}
.marquee-chip .dot {
  height: 0.25rem;
  width: 0.25rem;
  border-radius: 9999px;
  background: var(--brand-300);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal--left {
  transform: translateX(-28px);
}
.reveal--right {
  transform: translateX(28px);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgb(229 229 229 / 0.7);
  background: rgb(255 255 255 / 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
body.admin-bar .site-header {
  top: 32px;
}
.site-header.is-scrolled {
  border-bottom-color: var(--n200);
  box-shadow: var(--shadow-soft);
}
.site-header__inner {
  margin: 0 auto;
  display: flex;
  max-width: 72rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  transition: padding 0.3s ease;
}
.site-header.is-scrolled .site-header__inner {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.site-logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}
.site-logo img {
  height: 2.5rem;
  width: auto;
  display: block;
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--n600);
}
@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}
.nav-desktop > ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-desktop a {
  color: var(--n600);
  transition: color 0.15s ease;
}
.nav-desktop a:hover {
  color: var(--n900);
}

.dropdown {
  position: relative;
}
.dropdown__toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: 0;
  padding: 0;
  color: var(--n600);
  cursor: pointer;
  font-size: 0.875rem;
}
.dropdown__toggle:hover {
  color: var(--n900);
}
.dropdown__toggle svg {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 0.15s ease;
}
.dropdown.is-open .dropdown__toggle svg {
  transform: rotate(180deg);
}
.dropdown__menu {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 30;
  margin: 0.5rem 0 0;
  width: 10rem;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid var(--n200);
  background: #ffffff;
  padding: 0.25rem 0;
  list-style: none;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  display: none;
}
.dropdown.is-open .dropdown__menu {
  display: block;
}
.dropdown__menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--n700);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.dropdown__menu a:hover {
  background: var(--n50);
  color: var(--n900);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.header-signin {
  display: none;
  color: var(--n600);
  transition: color 0.15s ease;
}
.header-signin:hover {
  color: var(--n900);
}
.header-signup {
  display: none;
}
@media (min-width: 640px) {
  .header-signin {
    display: inline;
  }
  .header-signup {
    display: inline-flex;
  }
}

.nav-toggle {
  display: block;
  border: 0;
  background: none;
  border-radius: 0.5rem;
  padding: 0.375rem;
  color: var(--n700);
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.nav-toggle:hover {
  background: var(--n100);
}
.nav-toggle svg {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}
.drawer.is-open {
  display: block;
}
.drawer__overlay {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgb(23 23 23 / 0.4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  cursor: default;
}
.drawer__panel {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  height: 100%;
  width: 18rem;
  max-width: 82%;
  flex-direction: column;
  background: #ffffff;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--n200);
  padding: 0.75rem 1rem;
}
.drawer__title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--n900);
}
.drawer__close {
  border: 0;
  background: none;
  border-radius: 0.5rem;
  padding: 0.375rem;
  color: var(--n700);
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.drawer__close:hover {
  background: var(--n100);
}
.drawer__close svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}
.drawer__nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.25rem;
  overflow-y: auto;
  padding: 0.75rem;
}
.drawer__nav a {
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  color: var(--n700);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.drawer__nav a:hover {
  background: var(--n50);
  color: var(--n900);
}
.drawer__foot {
  border-top: 1px solid var(--n100);
  padding: 0.75rem;
  display: grid;
  gap: 0.5rem;
}
body.drawer-open {
  overflow: hidden;
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */
.site-footer {
  margin-top: auto;
  background: var(--n50);
}
.footer-hairline {
  height: 1px;
  background: linear-gradient(to right, transparent, rgb(238 157 157 / 0.7), transparent);
}
.site-footer__inner {
  margin: 0 auto;
  max-width: 72rem;
  padding: 3.5rem 1rem;
}
.footer-statement {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  color: var(--n900);
}
@media (min-width: 640px) {
  .footer-statement {
    font-size: 2.25rem;
  }
}
.footer-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 2rem;
  border-top: 1px solid var(--n200);
  padding-top: 2.5rem;
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.footer-col__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--n800);
}
.footer-col ul {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--n500);
}
.footer-col a {
  color: var(--n500);
  transition: color 0.15s ease;
}
.footer-col a:hover {
  color: var(--n900);
}
.footer-brand img {
  height: 2.5rem;
  width: auto;
}
.footer-blurb {
  margin-top: 0.75rem;
  max-width: 20rem;
  font-size: 0.875rem;
  color: var(--n500);
}
.footer-bottom {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--n200);
  padding-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--n400);
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer-bottom nav,
.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-bottom a {
  color: var(--n400);
  transition: color 0.15s ease;
}
.footer-bottom a:hover {
  color: var(--n900);
}

/* ------------------------------------------------------------------ */
/* Home specifics: two sides, dark panel, wedge stats                  */
/* ------------------------------------------------------------------ */
.side-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 2rem;
}
.side-card p.body {
  margin-top: 0.5rem;
  flex: 1;
  color: var(--n600);
}
.side-card .link-brand {
  margin-top: 1rem;
}

.dark-panel {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background: linear-gradient(to bottom right, #171717, #171717 55%, var(--brand-900));
  padding: 2rem;
  box-shadow: var(--shadow-lift);
}
@media (min-width: 640px) {
  .dark-panel {
    padding: 3rem;
  }
}
.dark-panel__bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
}
.dark-panel__bg .blob--ember-a {
  position: absolute;
  right: -6rem;
  top: -6rem;
  height: 20rem;
  width: 20rem;
  border-radius: 9999px;
  background: rgb(201 42 42 / 0.3);
  filter: blur(64px);
  animation: blob-a 18s ease-in-out infinite;
}
.dark-panel__bg .blob--ember-b {
  position: absolute;
  left: -5rem;
  bottom: 0;
  height: 18rem;
  width: 18rem;
  border-radius: 9999px;
  background: rgb(244 63 94 / 0.2);
  filter: blur(64px);
  animation: blob-b 24s ease-in-out infinite;
}
.dark-panel__content {
  position: relative;
}
.dark-panel__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-300);
}
.dark-panel__heading {
  margin-top: 0.75rem;
  max-width: 42rem;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  line-height: 1.1;
  color: #ffffff;
}
@media (min-width: 640px) {
  .dark-panel__heading {
    font-size: 2.25rem;
  }
}
.dark-panel__heading em {
  font-style: normal;
}
.dark-panel__lede {
  margin-top: 1rem;
  max-width: 42rem;
  color: var(--n300);
}
.dark-panel__lede strong {
  color: #ffffff;
}
.dark-panel__grid {
  margin-top: 2rem;
  display: grid;
  column-gap: 2rem;
  row-gap: 1.25rem;
}
@media (min-width: 640px) {
  .dark-panel__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .dark-panel__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.dp-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.dp-feature__icon {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgb(255 255 255 / 0.1);
  color: var(--brand-300);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1);
}
.dp-feature__icon svg {
  width: 1.125rem;
  height: 1.125rem;
}
.dp-feature__title {
  font-weight: 500;
  color: #ffffff;
}
.dp-feature__body {
  margin-top: 0.125rem;
  font-size: 0.875rem;
  color: var(--n400);
}
.dark-panel__ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.link-ghost-light {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--n300);
  transition: color 0.15s ease;
}
.link-ghost-light:hover {
  color: #ffffff;
}

.stats {
  margin: 2.5rem auto 0;
  display: grid;
  max-width: 42rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  border-top: 1px solid rgb(201 42 42 / 0.1);
  padding-top: 2rem;
}
.stats dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--n900);
}
.stats .stat-label {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--n500);
}
@media (min-width: 640px) {
  .stats dd {
    font-size: 3rem;
  }
  .stats .stat-label {
    font-size: 0.875rem;
  }
}

/* ------------------------------------------------------------------ */
/* Blog                                                                */
/* ------------------------------------------------------------------ */
.chips {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.chip {
  border-radius: 9999px;
  border: 1px solid var(--n300);
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--n700);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.chip:hover {
  border-color: rgb(201 42 42 / 0.3);
  background: var(--n50);
}
.chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}
.post-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.post-card-link {
  display: block;
  height: 100%;
}
.post-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 1.5rem;
}
.post-card__cat {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--brand);
}
.post-card__title {
  margin-top: 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.375;
  color: var(--n900);
  transition: color 0.15s ease;
}
.post-card-link:hover .post-card__title {
  color: var(--brand);
}
.post-card__excerpt {
  margin-top: 0.5rem;
  flex: 1;
  font-size: 0.875rem;
  color: var(--n600);
}
.post-card__meta {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--n400);
}
.post-meta {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--n400);
}
.post-cta {
  margin-top: 3.5rem;
  border-radius: 1rem;
  border: 1px solid rgb(201 42 42 / 0.2);
  background: linear-gradient(to bottom right, var(--brand-50), #ffffff);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.related {
  margin-top: 3.5rem;
}
.related h2 {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--n900);
}
.related ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  height: 3px;
  width: 0;
  background: var(--brand);
}
body.admin-bar .reading-progress {
  top: 32px;
}

/* ------------------------------------------------------------------ */
/* Legal                                                               */
/* ------------------------------------------------------------------ */
.legal-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
.legal-card {
  display: block;
  border-radius: 1rem;
  border: 1px solid var(--n200);
  background: #ffffff;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.legal-card:hover {
  transform: translateY(-2px);
  border-color: rgb(201 42 42 / 0.3);
  box-shadow: var(--shadow-lift);
}
.doc-footnote {
  margin-top: 3rem;
  border-top: 1px solid var(--n200);
  padding-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--n400);
}

/* Local guide directory (/category/local/) */
.guide-grid {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.guide-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--n200);
  background: #ffffff;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--n800);
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.guide-card:hover {
  transform: translateY(-2px);
  border-color: rgb(201 42 42 / 0.3);
  box-shadow: var(--shadow-lift);
  color: var(--n900);
}
.guide-card__date {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--n400);
}

/* ------------------------------------------------------------------ */
/* Prose: editorial typography for blog posts + legal docs             */
/* ------------------------------------------------------------------ */
.prose {
  color: var(--n700);
  line-height: 1.75;
}
.prose > * + * {
  margin-top: 1.25em;
}
.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  font-family: var(--font-serif);
  color: var(--n900);
}
.prose h1 {
  font-size: 2.25rem;
  line-height: 1.1;
  margin-bottom: 0.9em;
}
.prose > * + h2 {
  margin-top: 2em;
}
.prose h2 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: -0.25em;
}
.prose > * + h3 {
  margin-top: 1.6em;
}
.prose h3 {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: -0.35em;
}
.prose a {
  color: var(--brand);
  text-decoration: underline;
}
.prose strong {
  font-weight: 600;
  color: var(--n900);
}
.prose ul,
.prose ol {
  padding-left: 1.625em;
}
.prose li {
  margin: 0.5em 0;
}
.prose blockquote {
  margin-left: 0;
  margin-right: 0;
  border-left: 0.25rem solid var(--brand);
  padding-left: 1em;
  font-style: italic;
  color: var(--n700);
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--n200);
  margin: 2.5em 0;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.prose th,
.prose td {
  border-bottom: 1px solid var(--n200);
  padding: 0.5em 0.75em;
  text-align: left;
}
.prose th {
  font-weight: 600;
  color: var(--n900);
}
.prose code {
  background: var(--n100);
  border-radius: 0.25rem;
  padding: 0.125em 0.375em;
  font-size: 0.875em;
}

/* ------------------------------------------------------------------ */
/* Forms (contact)                                                     */
/* ------------------------------------------------------------------ */
.form-stack {
  display: grid;
  gap: 1rem;
}
.form-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.field label {
  margin-bottom: 0.375rem;
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--n700);
}
.input,
.textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--n300);
  background: #ffffff;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--n900);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input::placeholder,
.textarea::placeholder {
  color: var(--n400);
}
.input:focus-visible,
.textarea:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgb(201 42 42 / 0.3);
}
.textarea {
  resize: vertical;
}
.hp-field {
  display: none;
}
.success-panel {
  border-radius: 1rem;
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  padding: 1.5rem;
  font-size: 0.875rem;
  color: #166534;
}
.form-error {
  font-size: 0.875rem;
  color: var(--brand);
}

/* ------------------------------------------------------------------ */
/* 404                                                                 */
/* ------------------------------------------------------------------ */
.page-404 {
  position: relative;
  display: flex;
  min-height: 75vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(to bottom, rgb(253 243 243 / 0.4), var(--n50));
  padding: 4rem 1rem;
  text-align: center;
}
.page-404 > * {
  position: relative;
}
.page-404__code {
  font-family: var(--font-serif);
  font-size: 3.75rem;
  font-weight: 600;
  color: var(--brand);
}
.page-404 h1 {
  margin-top: 1rem;
  font-size: 1.5rem;
}

/* ------------------------------------------------------------------ */
/* Reduced motion: kill every animation/reveal                         */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .blob--a,
  .blob--b,
  .blob--c,
  .blob--ember-a,
  .blob--ember-b,
  .float-badge,
  .marquee-track {
    animation: none !important;
  }
  .btn::after {
    display: none;
  }
}
