/* ============================================================
   Foodstocks homepage — unified component composition
   Scope starts at section 2. Hero, header, and footer are excluded.
============================================================ */

body.home {
  --fs-background: #ffffff;
  --fs-foreground: #18181b;
  --fs-card: #ffffff;
  --fs-card-foreground: #18181b;
  --fs-muted: #f7f7f8;
  --fs-muted-foreground: #52525b;
  --fs-primary: #d60001;
  --fs-primary-hover: #b50001;
  --fs-primary-foreground: #ffffff;
  --fs-accent: #fff1f1;
  --fs-accent-foreground: #a90001;
  --fs-border: #e7e7ea;
  --fs-border-brand: #f0caca;
  --fs-ring: #d60001;
  --fs-radius-sm: .5rem;
  --fs-radius-md: .625rem;
  --fs-radius-lg: .75rem;
  --fs-shadow-xs: 0 1px 2px rgb(24 24 27 / .04);
  --fs-shadow-sm: 0 3px 6px rgb(24 24 27 / .08);
  --fs-shadow-red: 0 3px 6px rgb(214 0 1 / .16);
}

body.home .fs-home-centered-heading {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-inline: auto;
  text-align: center;
}

body.home .fs-home-centered-heading > :is(h2, p) {
  width: 100%;
  margin-inline: auto;
  text-align: center;
}

body.home .fs-home-section-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #b40001;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.25;
  text-transform: none;
  box-shadow: none;
}

body.home .fs-home-centered-heading .fs-home-section-badge {
  margin-inline: auto;
}

body.home .fs-home-section-badge--dark {
  border: 0;
  background: transparent;
  color: #ffd84d;
}

body.home .fs-home-hero-label {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff0a8;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.3;
  box-shadow: none;
  backdrop-filter: none;
}

body.home .fs-home-inline-label {
  display: inline-block;
  color: #fff0a8;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.3;
  text-transform: none;
}

body.home > section:nth-of-type(n + 2) {
  position: relative;
  padding-block: clamp(4.5rem, 7vw, 6.5rem);
  color: var(--fs-foreground);
}

body.home > section:nth-of-type(n + 2) > .max-w-8xl,
body.home > section:nth-of-type(n + 2) > .max-w-4xl {
  width: min(100%, 80rem);
}

body.home > section:nth-of-type(n + 2) h2 {
  max-width: 19ch;
  color: var(--fs-foreground);
  font-size: clamp(2.1rem, 4vw, 3.65rem) !important;
  letter-spacing: -.03em !important;
  line-height: 1.02;
  text-wrap: balance;
}

body.home > section:nth-of-type(n + 2) h3 {
  letter-spacing: -.015em;
  text-wrap: balance;
}

body.home > section:nth-of-type(n + 2) p {
  text-wrap: pretty;
}

body.home > section:first-of-type .text-white\/55 {
  color: rgb(255 255 255 / .82) !important;
}

body.home > section:nth-of-type(n + 2) a,
body.home > section:nth-of-type(n + 2) button {
  transition:
    color var(--fs-duration-fast) var(--fs-ease-out),
    background-color var(--fs-duration-fast) var(--fs-ease-out),
    border-color var(--fs-duration-fast) var(--fs-ease-out),
    box-shadow var(--fs-duration-fast) var(--fs-ease-out),
    transform var(--fs-duration-fast) var(--fs-ease-out);
}

body.home > section:nth-of-type(n + 2) :is(a, button):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--fs-ring) 70%, white);
  outline-offset: 3px;
}

body.home > section:nth-of-type(n + 2) .btn-primary,
body.home > section:nth-of-type(n + 2) .btn-secondary {
  min-height: 2.75rem;
  padding: .7rem 1.2rem !important;
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 700;
}

body.home > section:nth-of-type(n + 2) .btn-primary {
  border: 1px solid var(--fs-primary);
  background: var(--fs-primary);
  color: var(--fs-primary-foreground);
  box-shadow: var(--fs-shadow-red);
}

body.home > section:nth-of-type(n + 2) .btn-primary:hover {
  border-color: var(--fs-primary-hover);
  background: var(--fs-primary-hover);
  box-shadow: 0 5px 8px rgb(181 0 1 / .2);
  transform: translateY(-2px);
}

body.home > section:nth-of-type(n + 2) .btn-secondary {
  border: 1px solid var(--fs-border);
  background: var(--fs-card);
  color: var(--fs-foreground);
  box-shadow: var(--fs-shadow-xs);
}

body.home > section:nth-of-type(n + 2) .btn-secondary:hover {
  border-color: var(--fs-border-brand);
  background: var(--fs-accent);
  color: var(--fs-primary);
  box-shadow: var(--fs-shadow-sm);
  transform: translateY(-2px);
}

body.home > section:nth-of-type(n + 2) .card-hover {
  border-radius: var(--fs-radius-lg) !important;
  transition:
    background-color var(--fs-duration-base) var(--fs-ease-out),
    border-color var(--fs-duration-base) var(--fs-ease-out),
    box-shadow var(--fs-duration-base) var(--fs-ease-out),
    transform var(--fs-duration-base) var(--fs-ease-out);
}

body.home > section:nth-of-type(n + 2) .card-hover:hover {
  box-shadow: var(--fs-shadow-sm);
  transform: translateY(-3px);
}

/* 2. Trust builder */
body.home > section:nth-of-type(2) {
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgb(214 0 1 / .05) 0%, transparent 70%),
    var(--fs-background) !important;
}

body.home > section:nth-of-type(2) > div[style*="Patterns/1.png"] {
  display: block;
  opacity: .035 !important;
}

body.home > section:nth-of-type(2) > div[aria-hidden="true"]:not([style*="Patterns/1.png"]) {
  display: none;
}

body.home > section:nth-of-type(2) .grid {
  align-items: end;
}

body.home > section:nth-of-type(2) .grid > div > p:first-child {
  color: var(--fs-primary) !important;
}

body.home > section:nth-of-type(2) .grid > p {
  max-width: 42rem;
  color: var(--fs-muted-foreground) !important;
  line-height: 1.75;
}

body.home > section:nth-of-type(2) .divide-x {
  border-color: var(--fs-border) !important;
}

body.home > section:nth-of-type(2) .divide-x > div {
  border-color: var(--fs-border) !important;
}

body.home > section:nth-of-type(2) .divide-x p:first-child {
  color: var(--fs-primary) !important;
}

body.home > section:nth-of-type(2) .divide-x p:last-child {
  color: var(--fs-muted-foreground) !important;
}

body.home > section:nth-of-type(2) .flex.flex-wrap.gap-3 > div {
  border: 1px solid var(--fs-border-brand) !important;
  border-radius: 9999px;
  background: var(--fs-card) !important;
  color: var(--fs-foreground) !important;
  box-shadow: var(--fs-shadow-xs);
}

body.home > section:nth-of-type(2) .flex.flex-wrap.gap-3 > div:nth-child(2n) {
  background: #fff7f7 !important;
}

body.home > section:nth-of-type(2) .flex.flex-wrap.gap-3 > div:hover {
  border-color: var(--fs-primary) !important;
  box-shadow: var(--fs-shadow-sm);
  transform: translateY(-2px);
}

/* 3. Categories */
body.home > section:nth-of-type(3) {
  overflow: hidden;
  background: var(--fs-muted) !important;
}

body.home > section:nth-of-type(3) > div[aria-hidden="true"] {
  display: none;
}

body.home > section:nth-of-type(3) .max-w-2xl {
  display: flex;
  max-width: 42rem;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-inline: auto;
  text-align: center;
}

body.home > section:nth-of-type(3) .max-w-2xl p {
  margin-top: 1rem;
  margin-inline: auto;
  color: var(--fs-muted-foreground) !important;
  line-height: 1.75;
  text-align: center;
}

body.home > section:nth-of-type(3) .grid.grid-cols-2 {
  gap: .75rem;
}

body.home > section:nth-of-type(3) .grid.grid-cols-2 > a {
  min-height: 10.75rem;
  justify-content: center;
  padding: 1.25rem !important;
  border: 1px solid var(--fs-border) !important;
  background: var(--fs-card) !important;
  box-shadow: none;
}

body.home > section:nth-of-type(3) .grid.grid-cols-2 > a:hover {
  border-color: var(--fs-border-brand) !important;
  background: #fffafa !important;
  box-shadow: var(--fs-shadow-sm);
}

body.home > section:nth-of-type(3) .grid.grid-cols-2 > a > div {
  width: 3.25rem;
  height: 3.25rem;
  border: 0 !important;
  border-radius: var(--fs-radius-md) !important;
  background: var(--fs-accent) !important;
}

body.home > section:nth-of-type(3) .grid.grid-cols-2 h3 {
  font-size: .875rem;
}

body.home > section:nth-of-type(3) .grid.grid-cols-2 p[style] {
  color: var(--fs-muted-foreground) !important;
}

/* 4. Bestseller */
body.home > section:nth-of-type(4) {
  background: var(--fs-background) !important;
}

body.home > section:nth-of-type(4) > div > .flex.items-end h2 {
  margin-inline: 0;
}

body.home > section:nth-of-type(4) > div > .flex.items-end p {
  color: var(--fs-muted-foreground) !important;
}

body.home > section:nth-of-type(4) > div > .flex.items-end > .flex.items-center {
  gap: .75rem;
}

body.home > section:nth-of-type(4) > div > .flex.items-end > .flex.items-center > div {
  order: 1;
}

body.home > section:nth-of-type(4) > div > .flex.items-end > .flex.items-center > a {
  order: 2;
}

body.home > section:nth-of-type(4) #bestseller-prev,
body.home > section:nth-of-type(4) #bestseller-next {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--fs-border) !important;
  border-radius: 9999px;
  background: var(--fs-card) !important;
  color: var(--fs-foreground) !important;
  box-shadow: var(--fs-shadow-xs);
}

body.home > section:nth-of-type(4) #bestseller-prev:hover,
body.home > section:nth-of-type(4) #bestseller-next:hover {
  border-color: var(--fs-primary) !important;
  color: var(--fs-primary) !important;
  box-shadow: var(--fs-shadow-sm);
  transform: translateY(-1px);
}

body.home > section:nth-of-type(4) #bestseller-track > div {
  border: 1px solid var(--fs-border) !important;
  background: var(--fs-card) !important;
  box-shadow: none !important;
}

body.home > section:nth-of-type(4) #bestseller-track > div:hover {
  border-color: var(--fs-border-brand) !important;
  box-shadow: var(--fs-shadow-sm) !important;
}

body.home > section:nth-of-type(4) #bestseller-track .text-gray-400 {
  color: #52525b !important;
}

body.home > section:nth-of-type(4) #bestseller-dots {
  min-height: .75rem;
  max-width: 22rem;
  margin-inline: auto;
  flex-wrap: wrap;
  gap: .5rem;
}

body.home > section:nth-of-type(4) #bestseller-dots button {
  display: block;
  width: .55rem !important;
  min-width: .55rem !important;
  height: .55rem !important;
  min-height: .55rem !important;
  padding: 0 !important;
  border: 1px solid #d4d4d8;
  border-radius: 50% !important;
  background: #e4e4e7;
  box-shadow: none;
}

body.home > section:nth-of-type(4) #bestseller-dots button:hover {
  border-color: #a1a1aa;
  background: #d4d4d8;
  transform: none;
}

body.home > section:nth-of-type(4) #bestseller-dots button.is-active {
  border-color: var(--fs-primary);
  background: var(--fs-primary);
  box-shadow: 0 0 0 3px rgb(214 0 1 / .1);
}

/* 5. Two problems */
body.home > section:nth-of-type(5) {
  background: var(--fs-muted) !important;
}

body.home > section:nth-of-type(5) > div > .text-center {
  max-width: 44rem;
  margin-inline: auto;
}

body.home > section:nth-of-type(5) .grid.lg\:grid-cols-2 {
  gap: 1rem;
}

body.home > section:nth-of-type(5) .grid.lg\:grid-cols-2 > div {
  min-height: 31rem;
  padding: clamp(2rem, 4vw, 3.25rem) !important;
  border: 0 !important;
  border-radius: var(--fs-radius-lg) !important;
  box-shadow: none !important;
}

body.home > section:nth-of-type(5) .grid.lg\:grid-cols-2 > div:first-child {
  background: var(--fs-foreground) !important;
  color: #ffffff;
}

body.home > section:nth-of-type(5) .grid.lg\:grid-cols-2 > div:last-child {
  background: var(--fs-primary) !important;
  color: #ffffff;
}

body.home > section:nth-of-type(5) .grid.lg\:grid-cols-2 :is(h3, p, li, a) {
  color: #ffffff !important;
}

body.home > section:nth-of-type(5) .grid.lg\:grid-cols-2 > div > p {
  color: rgb(255 255 255 / .72) !important;
}

body.home > section:nth-of-type(5) .grid.lg\:grid-cols-2 > div > span {
  border: 1px solid rgb(255 255 255 / .18);
  background: rgb(255 255 255 / .1) !important;
  color: #ffffff !important;
}

body.home > section:nth-of-type(5) .grid.lg\:grid-cols-2 li > span {
  background: rgb(255 255 255 / .14) !important;
  color: #ffffff !important;
}

/* 6. Solutions */
body.home > section:nth-of-type(6) {
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgb(214 0 1 / .05) 0%, transparent 70%),
    var(--fs-background) !important;
}

body.home > section:nth-of-type(6)::before {
  position: absolute;
  inset: 0;
  background-image: url("../Patterns/3.png");
  background-position: center;
  background-repeat: repeat;
  background-size: 24rem;
  content: "";
  opacity: .025;
  pointer-events: none;
}

body.home > section:nth-of-type(6) > div[aria-hidden="true"] {
  display: none;
}

body.home > section:nth-of-type(6) > div > .text-center {
  max-width: 48rem;
  margin-inline: auto;
}

body.home > section:nth-of-type(6) > div > .flex.justify-center {
  justify-content: center;
}

body.home > section:nth-of-type(6) .inline-flex.bg-white {
  padding: .3rem !important;
  border: 1px solid var(--fs-border) !important;
  border-radius: 9999px !important;
  background: var(--fs-card) !important;
  box-shadow: var(--fs-shadow-xs) !important;
}

body.home > section:nth-of-type(6) .inline-flex.bg-white button {
  min-height: 2.35rem;
  padding: .55rem 1.25rem !important;
  border-radius: 9999px !important;
  font-size: .75rem;
}

body.home > section:nth-of-type(6) #fs-panel-reseller,
body.home > section:nth-of-type(6) #fs-panel-supplier {
  gap: .75rem;
}

body.home > section:nth-of-type(6) #fs-panel-reseller > a,
body.home > section:nth-of-type(6) #fs-panel-supplier > a {
  min-height: 15rem;
  justify-content: flex-start;
  padding: 1.5rem !important;
  border: 1px solid var(--fs-border) !important;
  border-radius: var(--fs-radius-lg) !important;
  background: var(--fs-card) !important;
  box-shadow: none;
}

body.home > section:nth-of-type(6) #fs-panel-reseller > a:nth-child(2n),
body.home > section:nth-of-type(6) #fs-panel-supplier > a:nth-child(2n) {
  background: #fff8f8 !important;
}

body.home > section:nth-of-type(6) #fs-panel-reseller > a:hover,
body.home > section:nth-of-type(6) #fs-panel-supplier > a:hover {
  border-color: var(--fs-border-brand) !important;
  box-shadow: var(--fs-shadow-sm);
}

body.home > section:nth-of-type(6) #fs-panel-reseller > a > div:first-child,
body.home > section:nth-of-type(6) #fs-panel-supplier > a > div:first-child {
  border-radius: var(--fs-radius-md) !important;
  background: var(--fs-accent) !important;
  color: var(--fs-primary) !important;
}

body.home > section:nth-of-type(6) #fs-panel-reseller h3,
body.home > section:nth-of-type(6) #fs-panel-supplier h3 {
  color: var(--fs-foreground) !important;
}

body.home > section:nth-of-type(6) #fs-panel-reseller p,
body.home > section:nth-of-type(6) #fs-panel-supplier p {
  color: var(--fs-muted-foreground) !important;
}

body.home > section:nth-of-type(6) #fs-panel-reseller > a > div:last-child,
body.home > section:nth-of-type(6) #fs-panel-supplier > a > div:last-child {
  color: var(--fs-primary) !important;
}

/* 7. Official stores */
body.home > section:nth-of-type(7) {
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgb(214 0 1 / .05) 0%, transparent 70%),
    var(--fs-muted) !important;
  border-color: var(--fs-border) !important;
}

body.home > section:nth-of-type(7)::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: url("../Patterns/3.png");
  background-position: right center;
  background-repeat: repeat;
  background-size: 22rem;
  content: "";
  opacity: .06;
  -webkit-mask-image: linear-gradient(90deg, transparent 12%, rgb(0 0 0 / .28) 48%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 12%, rgb(0 0 0 / .28) 48%, #000 100%);
  pointer-events: none;
}

body.home > section:nth-of-type(7) > .max-w-8xl {
  position: relative;
  z-index: 1;
}

body.home > section:nth-of-type(7) .text-center {
  max-width: 40rem;
  margin-inline: auto;
}

body.home > section:nth-of-type(7) .grid.sm\:grid-cols-2 {
  width: 100%;
  max-width: 60rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

body.home > section:nth-of-type(7) .grid.sm\:grid-cols-2 > a {
  width: 100%;
  min-height: 23rem;
  justify-content: center;
  padding: 2rem !important;
  border: 1px solid var(--fs-border) !important;
  background: var(--fs-card) !important;
  box-shadow: none;
}

body.home > section:nth-of-type(7) .grid.sm\:grid-cols-2 > a:hover {
  border-color: var(--fs-border-brand) !important;
  box-shadow: var(--fs-shadow-sm);
}

body.home > section:nth-of-type(7) .grid.sm\:grid-cols-2 > a > div:first-child {
  border-radius: var(--fs-radius-md) !important;
}

/* 8. Technology */
body.home > section:nth-of-type(8) {
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgb(214 0 1 / .05) 0%, transparent 70%),
    var(--fs-background) !important;
  color: var(--fs-foreground);
}

body.home > section:nth-of-type(8)::after {
  position: absolute;
  z-index: 0;
  inset: auto 0 0;
  height: clamp(6rem, 12vw, 8.5rem);
  display: block;
  background-image: url("../Patterns/2.png");
  background-position: center bottom;
  background-repeat: repeat;
  background-size: 17rem;
  content: "";
  opacity: .05;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgb(0 0 0 / .5) 48%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgb(0 0 0 / .5) 48%, #000 100%);
  pointer-events: none;
}

body.home > section:nth-of-type(8) > .max-w-8xl {
  position: relative;
  z-index: 1;
}

body.home > section:nth-of-type(8) h2 {
  color: var(--fs-foreground);
}

body.home > section:nth-of-type(8) .fs-home-centered-heading > p {
  color: var(--fs-muted-foreground) !important;
}

body.home > section:nth-of-type(8) .grid.md\:grid-cols-3 {
  gap: .75rem;
}

body.home > section:nth-of-type(8) .grid.md\:grid-cols-3 > a {
  padding: 1rem !important;
  border: 1px solid var(--fs-border) !important;
  background: #ffffff !important;
  box-shadow: none;
}

body.home > section:nth-of-type(8) .grid.md\:grid-cols-3 > a:hover {
  border-color: var(--fs-border-brand) !important;
  box-shadow: var(--fs-shadow-sm);
}

body.home > section:nth-of-type(8) .grid.md\:grid-cols-3 > a > .overflow-hidden {
  margin-bottom: 1.25rem;
  border: 1px solid var(--fs-border);
  border-radius: var(--fs-radius-md) !important;
}

body.home > section:nth-of-type(8) .grid.md\:grid-cols-3 > a > div:not(.overflow-hidden) {
  border-radius: var(--fs-radius-md) !important;
}

body.home > section:nth-of-type(8) .grid.md\:grid-cols-3 h3 {
  color: var(--fs-foreground) !important;
}

body.home > section:nth-of-type(8) .grid.md\:grid-cols-3 p:not([class*="uppercase"]) {
  color: var(--fs-muted-foreground) !important;
}

/* 9. MDP */
body.home > section:nth-of-type(9) {
  padding-block: clamp(3.5rem, 6vw, 5rem);
  background: var(--fs-background) !important;
  border-color: var(--fs-border) !important;
}

body.home > section:nth-of-type(9) > div > div {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem) !important;
  border: 0 !important;
  border-radius: var(--fs-radius-lg) !important;
  background: var(--fs-primary) !important;
  box-shadow: var(--fs-shadow-red);
}

body.home > section:nth-of-type(9) h2 {
  max-width: 30ch;
  margin: .25rem 0 0;
  color: #ffffff !important;
  font-size: clamp(1.45rem, 2.2vw, 2rem) !important;
  line-height: 1.1;
}

body.home > section:nth-of-type(9) p {
  max-width: 60rem;
  color: rgb(255 255 255 / .82) !important;
}

body.home > section:nth-of-type(9) > div > div > div:nth-child(2) {
  text-align: left !important;
}

body.home > section:nth-of-type(9) > div > div a {
  min-height: 2.75rem;
  padding: .7rem 1.2rem !important;
  border: 1px solid #ffffff;
  border-radius: 9999px;
  background: #ffffff !important;
  color: var(--fs-primary) !important;
  box-shadow: none !important;
}

body.home > section:nth-of-type(9) > div > div a:hover {
  background: var(--fs-accent) !important;
  box-shadow: 0 3px 6px rgb(87 0 0 / .18) !important;
  transform: translateY(-2px);
}

/* 10. Testimonials */
body.home > section:nth-of-type(10) {
  background: var(--fs-muted) !important;
}

body.home > section:nth-of-type(10) > div > .text-center {
  margin-inline: auto;
}

body.home > section:nth-of-type(10) .grid.md\:grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

body.home > section:nth-of-type(10) article,
body.home > section:nth-of-type(10) article:first-child {
  min-height: 23rem;
  padding: 1.75rem !important;
  border: 1px solid var(--fs-border) !important;
  background: var(--fs-card) !important;
  color: var(--fs-foreground) !important;
  box-shadow: none !important;
}

body.home > section:nth-of-type(10) article:hover,
body.home > section:nth-of-type(10) article:first-child:hover {
  border-color: var(--fs-border-brand) !important;
  box-shadow: var(--fs-shadow-sm) !important;
}

body.home > section:nth-of-type(10) article > span,
body.home > section:nth-of-type(10) article:first-child > span {
  border: 1px solid var(--fs-border-brand);
  background: var(--fs-accent) !important;
  color: var(--fs-primary) !important;
}

body.home > section:nth-of-type(10) article > svg,
body.home > section:nth-of-type(10) article:first-child > svg {
  color: rgb(214 0 1 / .22) !important;
}

body.home > section:nth-of-type(10) article > p,
body.home > section:nth-of-type(10) article:first-child > p,
body.home > section:nth-of-type(10) article footer p {
  color: var(--fs-muted-foreground) !important;
}

body.home > section:nth-of-type(10) article footer {
  border-color: var(--fs-border) !important;
}

body.home > section:nth-of-type(10) article footer p:first-child {
  color: var(--fs-foreground) !important;
}

body.home > section:nth-of-type(10) article footer > div:first-child {
  border: 1px solid var(--fs-border) !important;
  background: var(--fs-muted) !important;
}

/* 11. Final CTA */
body.home > section:nth-of-type(11) {
  background:
    radial-gradient(ellipse 58% 78% at 50% 42%, rgb(214 0 1 / .25) 0%, transparent 68%),
    linear-gradient(135deg, #101116 0%, #191115 58%, #28090d 100%) !important;
  isolation: isolate;
}

body.home > section:nth-of-type(11) > div[style*="Patterns/1.png"] {
  z-index: 0;
  opacity: .4 !important;
  background-size: 280px !important;
  background-position: center !important;
  mix-blend-mode: normal !important;
  filter: brightness(.42) saturate(1.4) contrast(1.08);
  -webkit-mask-image: radial-gradient(
    ellipse 60% 70% at center,
    transparent 0%,
    transparent 43%,
    rgb(0 0 0 / .24) 59%,
    rgb(0 0 0 / .76) 82%,
    #000 100%
  );
  mask-image: radial-gradient(
    ellipse 60% 70% at center,
    transparent 0%,
    transparent 43%,
    rgb(0 0 0 / .24) 59%,
    rgb(0 0 0 / .76) 82%,
    #000 100%
  );
}

body.home > section:nth-of-type(11) > .relative.max-w-4xl {
  z-index: 2;
  text-align: center;
}

body.home > section:nth-of-type(11) h2 {
  margin-inline: auto;
  color: #ffffff;
  text-align: center;
}

body.home > section:nth-of-type(11) p {
  margin-inline: auto;
  color: rgb(255 255 255 / .68) !important;
  text-align: center;
}

body.home > section:nth-of-type(11) .eyebrow {
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ffd84d;
}

body.home > section:nth-of-type(11) .mt-10 {
  width: 100%;
  justify-content: center;
}

body.home > section:nth-of-type(11) .mt-10 a {
  min-height: 3rem;
  padding: .75rem 1.4rem !important;
  border-radius: 9999px;
  box-shadow: none !important;
}

body.home > section:nth-of-type(11) .mt-10 a:first-child {
  border: 1px solid #ffffff;
  background: #ffffff !important;
  color: var(--fs-primary) !important;
}

body.home > section:nth-of-type(11) .mt-10 a:last-child {
  border: 1px solid rgb(255 255 255 / .35) !important;
  background: transparent !important;
  color: #ffffff !important;
}

body.home > section:nth-of-type(11) .mt-10 a:hover {
  transform: translateY(-2px);
}

body.home > section:nth-of-type(11) .mt-10 a:last-child:hover {
  border-color: #ffffff !important;
  background: rgb(255 255 255 / .08) !important;
}

@media (max-width: 900px) {
  body.home > section:nth-of-type(3) .max-w-2xl {
    max-width: 42rem;
  }

  body.home > section:nth-of-type(9) > div > div {
    grid-template-columns: auto minmax(0, 1fr);
  }

  body.home > section:nth-of-type(9) > div > div > a {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: center;
  }

  body.home > section:nth-of-type(10) .grid.md\:grid-cols-3 {
    grid-template-columns: 1fr;
  }

  body.home > section:nth-of-type(10) article,
  body.home > section:nth-of-type(10) article:first-child {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  body.home > section:nth-of-type(n + 2) {
    padding-block: 4rem;
  }

  body.home > section:nth-of-type(n + 2) h2 {
    font-size: clamp(2rem, 10vw, 2.75rem) !important;
  }

  body.home > section:nth-of-type(2) .divide-x {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home > section:nth-of-type(2) .divide-x > div {
    border-bottom: 1px solid var(--fs-border);
  }

  body.home > section:nth-of-type(3) .grid.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home > section:nth-of-type(3) .grid.grid-cols-2 > a {
    min-height: 10rem;
    padding: 1rem !important;
  }

  body.home > section:nth-of-type(4) > div > .flex.items-end > .flex.items-center {
    width: 100%;
    justify-content: space-between;
  }

  body.home > section:nth-of-type(4) > div > .flex.items-end > .flex.items-center > a {
    display: inline-flex !important;
  }

  body.home > section:nth-of-type(5) .grid.lg\:grid-cols-2 > div {
    min-height: 0;
  }

  body.home > section:nth-of-type(6) .inline-flex.bg-white {
    width: 100%;
  }

  body.home > section:nth-of-type(6) .inline-flex.bg-white button {
    flex: 1;
    padding-inline: .75rem !important;
  }

  body.home > section:nth-of-type(7) .grid.sm\:grid-cols-2 {
    grid-template-columns: 1fr;
  }

  body.home > section:nth-of-type(7) .grid.sm\:grid-cols-2 > a {
    min-height: 21rem;
  }

  body.home > section:nth-of-type(9) > div > div {
    grid-template-columns: 1fr;
    text-align: center;
  }

  body.home > section:nth-of-type(9) > div > div > div:first-child {
    margin-inline: auto;
  }

  body.home > section:nth-of-type(9) > div > div > div:nth-child(2) {
    text-align: center !important;
  }

  body.home > section:nth-of-type(9) h2 {
    margin-inline: auto;
    font-size: 1.6rem !important;
  }

  body.home > section:nth-of-type(9) > div > div > a {
    grid-column: auto;
  }

  body.home > section:nth-of-type(11) > div[style*="Patterns/1.png"] {
    opacity: .32 !important;
    background-size: 230px !important;
    -webkit-mask-image: radial-gradient(
      ellipse 78% 62% at center,
      transparent 0%,
      transparent 40%,
      rgb(0 0 0 / .2) 57%,
      rgb(0 0 0 / .72) 82%,
      #000 100%
    );
    mask-image: radial-gradient(
      ellipse 78% 62% at center,
      transparent 0%,
      transparent 40%,
      rgb(0 0 0 / .2) 57%,
      rgb(0 0 0 / .72) 82%,
      #000 100%
    );
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home > section:nth-of-type(n + 2) *,
  body.home > section:nth-of-type(n + 2) *::before,
  body.home > section:nth-of-type(n + 2) *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  body.home > section:nth-of-type(n + 2) :is(.card-hover, a, button):hover {
    transform: none !important;
  }
}
